#!/bin/bash
purge_packages || exit 1
rm_external_repo "adoptium"

sudo rm -rf /opt/xdman || error "Failed to remove /opt/xdman/ directpry!"
sudo rm -f /usr/share/applications/xdman.desktop || error "Failed to remove menu shortcut!"
sudo rm -f /usr/bin/xdman || error "Failed to remove /usr/bin/xdman !"
